package com.offdissys.common.utils.domain;

/**
 * @author ZhangHaiWen
 * @title: TokenConstants
 * @projectName parent
 * @description: token常量
 * @date 2022/3/715:07
 */
public class TokenConstants {

    /**
     * 设置前缀分隔符
     */
    public static final String SEPARATOR = "_";

    /**
     * 默认 缓存中保存的 token前缀
     */
    public static final String DEFAULT_CACHE_HEAR = "token";

    /**
     * 签名生成者
     */
    public static final String SERVICE = "SERVICE";

    /**
     * 令牌内置变量名称
     */
    public static final String CLAIM_NAME = "OBJ";

    /**
     * http的 HEADER
     */
    public static final String HTTP_HEADER = "Authorization";

}
